using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("UnityUrlDownloader")]
	public class UnityUrlDownloader : MonoClass
	{
		[Attribute38("UnityUrlDownloader.DownloadState")]
		public class DownloadState : MonoClass
		{
			public string url => method_4("url");

			public int numRetriesLeft => method_2<int>("numRetriesLeft");

			public int timeoutMs => method_2<int>("timeoutMs");

			public bool success => method_2<bool>("success");

			public float startTime => method_2<float>("startTime");

			public DownloadState(IntPtr address, string className)
				: base(address, className)
			{
			}

			public DownloadState(IntPtr address)
				: this(address, "DownloadState")
			{
			}
		}

		public UnityUrlDownloader(IntPtr address, string className)
			: base(address, className)
		{
		}

		public UnityUrlDownloader(IntPtr address)
			: this(address, "UnityUrlDownloader")
		{
		}

		public void Process()
		{
			method_8("Process");
		}
	}
}
